$OpenBSD: patch-src_3rdparty_chromium_base_process_process_handle_openbsd_cc,v 1.1.1.1 2016/12/25 14:13:19 zhuk Exp $
--- src/3rdparty/chromium/base/process/process_handle_openbsd.cc.orig.port	Sun Aug  7 08:02:06 2016
+++ src/3rdparty/chromium/base/process/process_handle_openbsd.cc	Sun Aug  7 08:03:36 2016
@@ -38,7 +38,7 @@ FilePath GetProcessExecutablePath(ProcessHandle proces
   mib[5] = (len / sizeof(struct kinfo_proc));
   if (sysctl(mib, arraysize(mib), &kp, &len, NULL, 0) < 0)
     return FilePath();
-  if ((kp.p_flag & P_SYSTEM) != 0)
+  if ((kp.p_ps_flags & PS_SYSTEM) != 0)
     return FilePath();
   if (strcmp(kp.p_comm, "chrome") == 0)
     return FilePath(kp.p_comm);
